package zom.zenjava.zendeploy.util;

public class FileDownloadUpdate
{
    private FileDownloader fileDownloader;
    private int bytesReadSoFar;
    private int totalBytesToRead;

    public FileDownloadUpdate(FileDownloader fileDownloader, int bytesReadSoFar, int totalBytesToRead)
    {
        this.fileDownloader = fileDownloader;
        this.bytesReadSoFar = bytesReadSoFar;
        this.totalBytesToRead = totalBytesToRead;
    }

    public FileDownloader getFileDownloader()
    {
        return fileDownloader;
    }

    public int getBytesReadSoFar()
    {
        return bytesReadSoFar;
    }

    public int getTotalBytesToRead()
    {
        return totalBytesToRead;
    }
}
